package com.example.mapper;

import org.apache.ibatis.annotations.Delete;
import org.springframework.stereotype.Component;

@Component
public interface RemoveAllMapper {

    //    删除考核信息
    @Delete("DELETE FROM assess")
    boolean removeAssess();

    //    删除缴费表信息
    @Delete("DELETE FROM cost")
    boolean removeCost();

    //    删除物品遗失表
    @Delete("DELETE FROM lost")
    boolean removeLost();

//    删除公告表
    @Delete("DELETE FROM notice")
    boolean removeNotice();

//    删除物品保修表
    @Delete("DELETE FROM repair")
    boolean removeRepair();

//    删除换寝申请表
    @Delete("DELETE FROM trade")
    boolean removeTrade();

//    删除聊天表
    @Delete("DELETE FROM chat")
    boolean removeChat();

}
